import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store=new Vuex.Store({
    state:{
        name:'abc'
    },
    mutations:{
        changeName(state,val){
            state.name=val
        }
    }
})
export default store